package cn.bs.busuo.hotel.dao.persist.mapper;

import cn.bs.busuo.hotel.pojo.entity.HotelWorker;
import cn.bs.busuo.hotel.pojo.param.DeleteHotelWorkerParam;
import cn.bs.busuo.hotel.pojo.vo.HotelWorkerVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface HotelWorkerMapper extends BaseMapper<HotelWorker> {
    int selectHotelWorkerIfExist(Long hotelId, Long userId);

    int deleteHotelWorker(DeleteHotelWorkerParam deleteHotelWorkerParam);

    List<HotelWorkerVO> selectHotelWorker(Long hotelId);
}
